import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    src:''
  },
  mutations: {
    picture(state,plylod){
      state.src=plylod
    }
  },
  actions: {
    picture(content,plylod){
      this.commit('picture',plylod)
    }
  },
  getters:{

    src:state=>state.src
  },
  modules: {
  }
})
